function User(name, email, passwd, address){
    this.name = name;
    this.email = email;
    this.passwd = passwd;
    this.address = address;
}

function CartItem(productId, quantity, price){
    this.productId = productId;
    this.quantity = quantity;
    this.price = price;
}